import request from '@/utils/request';

/**
 * 康复治疗评定评估详情
 */
export function getAnxiety(params) {
  return request({
    url: 'admin/treatment/anxiety/anxietyEvaluateDetail',
    method: 'get',
    params
  })
};

/**
 * 保存康复治疗评估评定
 */
export function setAnxiety(data) {
  return request({
    url: 'admin/treatment/anxiety/anxietyEvaluate',
    method: 'post',
    data
  })
};